package com.yt.system.domain;

public class Subject {
    private Integer sid;

    private String sname;

    public Subject(Integer sid, String sname) {
        this.sid = sid;
        this.sname = sname;
    }

    public Subject() {
        super();
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }
}